package com.dt76.smallloanbackendservice.service.ysy.impl;

import com.dt76.smallloanbackendservice.mapper.ysy.AppMapper;
import com.dt76.smallloanbackendservice.pojo.ysy.ApprovalLoan;
import com.dt76.smallloanbackendservice.service.ysy.AppService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AppServiceImpl implements AppService {
    @Autowired
    private AppMapper appMapper2;
    @Override
    public List<ApprovalLoan> qryAppAll2() {
        return appMapper2.qryAppAll2();
    }

    @Override
    public void delapp(int alId) {
        appMapper2.delapp(alId);
    }

    @Override
    public void addapp(ApprovalLoan approvalLoan) {
        appMapper2.addapp(approvalLoan);
    }
}
